package com.qupai.domain.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "分页查询实体")
public class PageQuery {

    @Schema(description = "页码")
    private Long pageNo;

    @Schema(description = "每页显示记录数")
    private Long pageSize;

    @Schema(description = "排序字段")
    private String sortBy;

    @Schema(description = "是否升序")
    private Boolean isAsc = false;
}
